import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import { createPinia } from 'pinia'
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'

// import request from './api'


// interface axiosRequestInterface{
//   code: number;
//   message: string;
//   data: object;
// }

// request.get<axiosRequestInterface>('/api/table').then(res => {
//   console.log(res)
// })

const app = createApp(App)
const pinia = createPinia()

app.use(ElementPlus)
app.use(router)
app.use(pinia)
app.mount('#app')

